import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/team-bition/orderList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
    cryptoToken: false,
  })
}

export const getDetail = (id) => {
  return request({
    url: '/api/team-bition/orderDetail',
    method: 'get',
    params: {
      id
    },
    cryptoToken: false,
  })
}

export const getTaskStatus = () => {
  return request({
    url: '/api/team-bition/taskStatusSteps',
    method: 'get',
    params: {},
    cryptoToken: false,
  })
}

export const searchOrder = (param) => {
  return request({
    url: '/api/team-bition/searchOrder',
    method: 'get',
    params: {
      ...param
    },
    cryptoToken: false,
  })
}

